<template>
  <div class="layout-page">
<router-view></router-view>
<van-tabbar v-model="active" route>
  <van-tabbar-item to="/article" icon="home-o">面经</van-tabbar-item>
  <van-tabbar-item to="/collect" icon="search">收藏</van-tabbar-item>
  <van-tabbar-item to="/like" icon="friends-o">喜欢</van-tabbar-item>
  <van-tabbar-item  to="/user" icon="setting-o">我的</van-tabbar-item>
</van-tabbar>
  </div>
</template>

<script>
export default {
  name: 'LayoutPage',
  data () {
    return {
      active: 0
    }
  }

}
</script>

<style lang="less" scoped></style>
